networking.wireguard.interfaces.<name>.preSetup

Commands called at the start of the interface setup.

Type
strings concatenated with "\n" or (list of string) convertible to it
Default
""
Example
"${pkgs.iproute2}/bin/ip netns add foo"
Declared
<nixpkgs/nixos/modules/services/networking/wireguard.nix>